package day0714;

public class Test2 {
    public static void main(String[] args) {
        String name="张三";

        int age=4;
        char sex='男';
        double height=1.68;
        boolean isMarried=false;    //婚否
        System.out.println("姓名："+name + ",年龄：" +age+",性别："+sex+",身高"+height+",婚否："+isMarried);


        System.out.println(  name.equals("zhangSan")   );//false
        System.out.println(  !name.equals("zhangSan")); //true

    }
}
